package com.suep.lesson_manage.application.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.sql.Time;

@Data
public class AddLessonRequestDto {
    @NotEmpty(message = "课节号不能为空")
    private Integer section_id;
    @NotEmpty(message = "课节名不能为空")
    private String section_name;
    @NotEmpty(message = "开始时间不能为空")
    private Time start_time;
    @NotEmpty(message = "结束时间不能为空")
    private Time end_time;
    @NotEmpty(message = "时长不能为空")
    private Integer duration;
}
